Skip to content

Add guarded release update check#135

Merged
cbusillo merged 1 commit into
mainfrom
feat/update-check
May 24, 2026
Merged

Add guarded release update check#135
cbusillo merged 1 commit into
mainfrom
feat/update-check

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

Summary

  • add code update-check to read the GitHub Release update manifest and report platform/version status
  • add guarded code update --yes support for direct Unix binaries after checksum verification
  • refuse package-manager and build-cache binaries, and add helper tests for versioning, install-source detection, archive extraction, and hashing

Closes #128

Validation

  • cargo test -p code-cli update::tests
  • ./build-fast.sh
  • code update-check --tag v0.6.101 against the published manifest
  • code update --tag v0.6.101 refuses the dev-fast build-cache binary as unknown

@cbusillo cbusillo merged commit 481d4c7 into main May 24, 2026
1 check passed
@cbusillo cbusillo deleted the feat/update-check branch May 24, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add guarded CLI update check and self-update

1 participant